﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity;
using Common.Background.Entity;

namespace Common.Background.Service
{
    public interface IWebManageRoleservices
    {
        WebManageRoles GetWebManageRoles(WebManageRoles WebManageRoles);

        /// <summary>
        /// 得到职位列表
        /// </summary>
        /// <param name="WebManageRoles"></param>
        /// <param name="vp"></param>
        /// <param name="pp"></param>
        /// <returns></returns>
        PagedList<WebManageRoles> WebManageRolesList(WebManageRoles WebManageRoles, VPredication vp,  PagingParam p);

        /// <summary>
        /// 得到部门下的职位
        /// </summary>
        /// <param name="WebDepartments"></param>
        /// <returns></returns>
        List<WebManageRoles> WebManageRolesList(WebDepartments WebDepartments);

        /// <summary>
        /// 修改职位
        /// </summary>
        /// <param name="WebManageRoles"></param>
        void SetWebManageRoles(WebManageRoles WebManageRoles);

        /// <summary>
        /// 添加职位
        /// </summary>
        /// <param name="WebManageRoles"></param>
        void AddWebManageRoles(WebManageRoles WebManageRoles);
        /// <summary>
        /// 删除职位
        /// </summary>
        /// <param name="WebManageRoles"></param>
        void DeleteWebManageRoles(WebManageRoles WebManageRoles);

    }
}
